package com.dpp.dbase.config;

/**
 * 符号配置类
 */
public class SymbolConfig {
    private String symbolType; // "point", "line", "polygon"
    private int color;
    private int size; // 点大小或线宽
    private int alpha = 255; // 透明度
    private String style; // 样式：CIRCLE, TRIANGLE, SQUARE 等
    private int outlineColor; // 边框颜色（用于面符号）
    private float outlineWidth; // 边框宽度（用于面符号）

    public SymbolConfig(String symbolType, int color) {
        this.symbolType = symbolType;
        this.color = color;
    }

    // Getters and Setters
    public String getSymbolType() { return symbolType; }
    public void setSymbolType(String symbolType) { this.symbolType = symbolType; }

    public int getColor() { return color; }
    public void setColor(int color) { this.color = color; }

    public int getSize() { return size; }
    public void setSize(int size) { this.size = size; }

    public int getAlpha() { return alpha; }
    public void setAlpha(int alpha) { this.alpha = alpha; }

    public String getStyle() { return style; }
    public void setStyle(String style) { this.style = style; }

    public int getOutlineColor() { return outlineColor; }
    public void setOutlineColor(int outlineColor) { this.outlineColor = outlineColor; }

    public float getOutlineWidth() { return outlineWidth; }
    public void setOutlineWidth(float outlineWidth) { this.outlineWidth = outlineWidth; }
}
